From: Jim Blandy Date: Fri, 14 May 1993 14:42:01 +0000 (+0000) Subject: * lread.c, data.c: If STDC_HEADERS is #defined, include X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96279 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=93b9120871c50c14ed8818b380307174383c4fd6;p=emacs.git * lread.c, data.c: If STDC_HEADERS is #defined, include to get the extern declarations for atof. That's where it is in POSIX. --- diff --git a/src/data.c b/src/data.c index c4473c8cbd3..db726c0f8b2 100644 --- a/src/data.c +++ b/src/data.c @@ -31,6 +31,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "syssignal.h" #ifdef LISP_FLOAT_TYPE +#ifdef STDC_HEADERS +#include +#endif #include #endif /* LISP_FLOAT_TYPE */ diff --git a/src/lread.c b/src/lread.c index 8615288f06b..aa211716a0a 100644 --- a/src/lread.c +++ b/src/lread.c @@ -45,6 +45,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #endif #ifdef LISP_FLOAT_TYPE +#ifdef STDC_HEADERS +#include +#endif #include #endif /* LISP_FLOAT_TYPE */